package com.cleaningcloud.erp.domain.statistics;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class WarehousingStatistics extends BaseEntity {
    // 入库明细id
    private Long warehousingDetailsId;
    // 商品类别
    @Excel(name = "商品类别")
    private String supplierCommodityType;
    // 采购单号
    @Excel(name = "采购单号")
    private String procureNo;
    // 采购时间
    @Excel(name = "采购日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date procureTime;
    // 入库单号
    @Excel(name = "入库单号")
    private String warehousingNo;
    // 入库时间
    private Date warehousingTime;
    // 单据类型
    private int oddType;
    // 仓库名称
    @Excel(name = "仓库名称")
    private String wareName;
    // 商品名称
    @Excel(name = "商品名称")
    private String supplierCommodityName;
    // 商品编码
    @Excel(name = "商品编码")
    private String supplierCommodityNo;
    // 规格
    @Excel(name = "规格")
    private String supplierCommoditySpec;
    // 单位
    @Excel(name = "单位")
    private String supplierCommodityUnit;
    // 供应商名称
    @Excel(name = "供应商名称")
    private String supplierName;
    // 入库数量
    @Excel(name = "入库数量")
    private int realityNumber;
    // 入库单价
    private BigDecimal procurePrice;
    // 入库金额
    private BigDecimal warehousingNumber;
    // 入库人
    @Excel(name = "入库人")
    private String warehousingUserName;
    // 入库状态
    @Excel(name = "入库状态", readConverterExp = "1=未入库,2=已入库")
    private Integer warehousingStatus;
    // 批量导出ids
    private String exportIds;

}
